/*
 * 
 * Created on Jul 27, 2005
 */
package com.wgo.precise.client.ui.model;

import java.util.Comparator;

/**
 * 
 * @author Petter L. H. Eide
 * @version $Id: PropertySpesificationComparator.java,v 1.1 2006-01-23 19:58:37 petterei Exp $
 * 
 * Changelog:
 * 
 * $Log: PropertySpesificationComparator.java,v $
 * Revision 1.1  2006-01-23 19:58:37  petterei
 * initial commit for client, fitting the alternative session implementation
 *
 * Revision 1.3  2006-01-13 08:12:42  petterei
 * Using Long consequently to differentiate between �null� and �0� for dbId and conceptId (no boxing/unboxing)
 * Ajusted code to stronger java-syntax
 *
 * Revision 1.2  2005-10-24 16:25:36  petterei
 * *** empty log message ***
 *
 * Revision 1.1  2005/09/27 17:04:29  petterei
 * inittial commit
 *
 * Revision 1.1  2005/08/23 06:38:48  peide3
 * *** empty log message ***
 *
 * Revision 1.1  2005/07/31 22:55:09  petterei
 * initial commit
 *
 *
 */
public class PropertySpesificationComparator implements Comparator<AbstractPropertySpesification> {

    /**
     * Compares its two arguments for order. Returns a negative integer, 
     * zero, or a positive integer as the first argument is less than, 
     * equal to, or greater than the second.
     * 
     * @see java.util.Comparator#compare(Object, Object)
     */
    public int compare(AbstractPropertySpesification o1, AbstractPropertySpesification o2) {
      return o1.compareTo(o2);
    }
}